

var _MONITORS_ = {};



function regist(monitor){
  var mid = monitor.id;
  _MONITORS_[mid] = monitor;
}


function get(mid){
  return _MONITORS_[mid];
}

exports.regist = regist;
exports.get = get;